package com.macro.mall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.macro.mall.model.BmsExhibitionsActivitiesGoods;

public interface BmsExhibitionsActivitiesGoodsMapper {

    // 手写新增方法
    int insert(BmsExhibitionsActivitiesGoods bmsExhibitionsActivitiesGoods);

    // 更新
    int update(BmsExhibitionsActivitiesGoods bmsExhibitionsActivitiesGoods);

    // 详情
    BmsExhibitionsActivitiesGoods selectById(@Param("id") Long id);

    // 查询
    List<BmsExhibitionsActivitiesGoods> selectAll(BmsExhibitionsActivitiesGoods bmsExhibitionsActivitiesGoods);

    // 删除方法
    int delete(@Param("ids") List<Long> ids);

    List<BmsExhibitionsActivitiesGoods> findListByExhibitionsActivitiesIds(
            @Param("exhibitionsActivitiesIds") List<Long> exhibitionsActivitiesIds);

}